import { login, refreshToken } from './login'
import { userChannel, getArticleList, dislikes, reports, allChannel, putChannel } from './home'
import { suggestion, search } from './search'
import { articles, followings, unFollowings, likings, unLikings, comments, commentLike, unCommentLike, releaseComments } from './article'
import { user, profile, photo, unProfile } from './My'
// 登录接口
export const loginApi = login // loginAPI变量里装的是一个函数(内部带着axios请求方法)
// 已选频道接口
export const userChannelApi = userChannel
// 所有频道接口
export const allChannelApi = allChannel
// 更新频道接口
export const putChannelApi = putChannel
// 首页文章列表
export const getArticleListApi = getArticleList
// 文章-不感兴趣
export const dislikesApi = dislikes
// 文章-举报
export const reportsApi = reports
// 联想菜单接口
export const suggestionApi = suggestion
// 搜索结果列表接口
export const searchApi = search
// 获取文章列表
export const articlesApi = articles
// 关注作者接口
export const followingsApi = followings
// 取消关注接口
export const unFollowingsApi = unFollowings
// 点赞
export const likingsApi = likings
// 取消点赞
export const unLikingsApi = unLikings
// 获取评论
export const commentsApi = comments
// 评论点赞
export const commentLikeApi = commentLike
// 评论取消点赞
export const unCommentLikeApi = unCommentLike
// 评论发布
export const releaseCommentsApi = releaseComments
// 用户基本资料
export const userApi = user
// 用户个人资料
export const profileApi = profile
// 更改头像
export const photoApi = photo
// 更改名称
export const unProfileApi = unProfile
// 更改token
export const refreshTokenApi = refreshToken
